home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / miscutl1.arc / COMSPEC.DQC / COMSPEC.DOC
Encoding:
Text File  |  1984-04-20  |  2.1 KB  |  63 lines

  1.                                        COMSPEC
  2.                                        Command
  3. __________________________________________________
  4. Purpose: To change the path used by DOS to reload
  5.          the command processor after the transient 
  6.          portion has been overwritten.
  7.  
  8.  
  9. Format:  COMSPEC [d:][path]filename.ext
  10.  
  11. Type:    Internal     External
  12.                         ***
  13.  
  14. Remarks: During execution of a program, it is
  15.          possible for the transient portion of
  16.          the command processor (i.e. COMMAND.COM)
  17.          to be overwritten.  DOS expects that this
  18.          may occur, and will automatically reload
  19.          the transient portion if necessary. The
  20.          problem is that DOS always attempts to 
  21.          reload the processor from drive A: no
  22.          matter what the COMSPEC string in the 
  23.          environment says.  This command may be
  24.          used to change the drive/path used by DOS.
  25.  
  26.          For users of RAM disks, and those with
  27.          hard disks (other than the XT which sets
  28.          the path at boot time), this may be just
  29.          what you always wanted.  You can tell DOS
  30.          just where to get the file from.
  31.  
  32.          Sample batch file used at boot time:
  33.  
  34.             COMSPEC C:\COMMAND.COM
  35.             SET COMSPEC=C:\COMMAND.COM
  36.  
  37.          The SET command is included to ensure that
  38.          the environment contains the correct path
  39.          to COMMAND.COM also as this is where BASIC
  40.          get the command processor name when using
  41.          the SHELL statement.
  42.  
  43.          Note: The command processor does not have to
  44.                be COMMAND.COM (but it usually is).
  45.  
  46.  
  47. Permission is granted to all users to freely copy and distribute
  48. this program provided it is not used for commercial purposes and
  49. is distributed in an unmodified form. No charge may be made for
  50. any copies distributed other than to the cost of the media used.
  51.  
  52.  
  53.              Copyright (c) Lindsey S. Mundy.  1983.
  54.              All Rights Reserved.
  55.  
  56.  
  57.              5913 View Lane,
  58.              Edina MN 55436
  59.  
  60.              (612) 922-3600
  61.  
  62.  
  63.